package com.dequeue;

public interface Dequeue {

	public int size();
	public boolean isEmpty();
	public void insertFirst(Object object);
	public void insertLast(Object object);
	public Object removeFromFirst() throws DeQueueEmptyException;
	public Object removeFromLast() throws DeQueueEmptyException;
	public Object first() throws DeQueueEmptyException;
	public Object last() throws DeQueueEmptyException;
	
}
